const weRequest = require('../utils/weRequest')
const API = {
  challengeInit:"challenge/init",
  getChallengeList4miniApp:"challenge/getChallengeList4miniApp",
  checkInformation:"challenge/checkInformation",
  
};
const challengeAPI = {
  challengeInit(data){
    return weRequest.request({
      showLoading: true,url:API.challengeInit,
      method:'get',
      data:data
    })
  },
  getChallengeList4miniApp(data){
    return weRequest.request({
      showLoading: true,url:API.getChallengeList4miniApp,
      method:'get',
      data:data
    })
  },  
  checkInformation(data){
    return weRequest.request({
      showLoading: true,url:API.checkInformation,
      method:'get',
      data:data
    })
  },  
  
}
module.exports =  challengeAPI;